import request from '@/utils/myAioxs'

//忘记密码-校验用户账号信息
export function checkUser(data) {
  return request({
    url: `/user/v1/check-user`,
    method: 'post',
    data
  })
}
//忘记密码-校验手机验证码
export function checkPhoneCode(data) {
  return request({
    url: `/user/v1/check-phone-code`,
    method: 'post',
    data
  })
}
//忘记密码-重置密码
export function checkUserSecret(data) {
  return request({
    url: `/user/v1/reset-user-secret`,
    method: 'post',
    data
  })
}

export function getPhoneCode(data) {
  return request({
    url: `/code/v1/phone-code-forgot-pwd`,
    method: 'post',
    data
  })
}
